package bma.common.langutil.jmshell.jvm;

import java.util.ArrayList;
import java.util.List;

import bma.common.langutil.jmshell.JMShellProcessor;
import bma.common.langutil.jmshell.command.JMShellCommandGroup;

public class JMShellCommandGroup4JVM extends JMShellCommandGroup {

	public JMShellCommandGroup4JVM() {
		super();

		List<JMShellProcessor> cmds = new ArrayList<JMShellProcessor>();
		cmds.add(new JVMRuntimeCommand());
		cmds.add(new JVMGCCommand());
		cmds.add(new JVMThreadCommand());
		cmds.add(new JVMThreadPoolCommand());
		cmds.add(new JVMThreadPoolSetCommand());
		this.processors = cmds;
	}

	@Override
	public void setProcessors(List<JMShellProcessor> processors) {
		this.processors.addAll(processors);
	}
}
